<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>HTML5表单新增元素</title>
	</head>
	<body>
		<form action="form.php" method="post"> 
		 请输入： 
		 <input type="text" list="list" /> 
		 <datalist id="list"> 
		 <option>123</option> 
		 <option>abc</option> 
		 <option>456</option> 
		 <option>def</option> 
		 <option>789</option> 
		 </datalist> 
		</form> 
	</body>
</html>